<?php /* Smarty version 2.6.26, created on 2014-02-21 16:05:24
         compiled from admin/commend/update.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_radios', 'admin/commend/update.html', 16, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="view/admin/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/admin/style/commend.css" />
<title>Insert title here</title>
</head>
<body>
    <h2><a href="?a=commend">返回评价列表</a>商品 -- 修改评价</h2>
    <form method="post" name="add" action="?a=commend&m=update&id=<?php echo $this->_tpl_vars['oneCommend'][0]->id; ?>
">
        <dl class="form">
            <dd>商品名称：<?php echo $_GET['name']; ?>
</dd>
            <dd>购买属性：<?php echo $this->_tpl_vars['oneCommend'][0]->attr; ?>
</dd>
            <dd>评 价 者：<?php echo $this->_tpl_vars['oneCommend'][0]->user; ?>
</dd>
            <dd>评价星级：<span class="star"><?php echo smarty_function_html_radios(array('options' => $this->_tpl_vars['star'],'name' => 'star','checked' => $this->_tpl_vars['star_checked']), $this);?>
</span></dd>
            <dd><span class="middle">评价内容：</span><textarea name="content"><?php echo $this->_tpl_vars['oneCommend'][0]->content; ?>
</textarea></dd>
            <dd><span class="middle">回复内容：</span><textarea name="re_content"><?php echo $this->_tpl_vars['oneCommend'][0]->re_content; ?>
</textarea></dd>
            <dd>是否屏蔽：<input type="radio" name="is_block" value="0" <?php if ($this->_tpl_vars['oneCommend'][0]->is_block == 0): ?>checked="checked"<?php endif; ?> />否 <input type="radio" name="is_block" value="1" <?php if ($this->_tpl_vars['oneCommend'][0]->is_block == 1): ?>checked="checked"<?php endif; ?>>是</dd>
            <dd><input type="submit" name="send" value="修改评价" class="submit"/></dd>
        </dl>
    </form>
</body>
</html>